CreateGUID

Creates and returns a globally unique identifier (GUID) string.

Syntax

CreateGUID()

Return value

Value Description
Value GUID string.

Example

Try

Script.CallScript("ComplicatedScript")

Catch

fileName = CreateGUID() + ".log"

AppendToFile(fileName, Err.Description, EncodingAutoDetect)

PrintLn("Created log file: " + fileName)

End Try